package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.HyrjUseMachineMapper;
import com.ruoyi.system.domain.HyrjUseMachine;
import com.ruoyi.system.service.IHyrjUseMachineService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-03-10
 */
@Service
public class HyrjUseMachineServiceImpl implements IHyrjUseMachineService 
{
    @Autowired
    private HyrjUseMachineMapper hyrjUseMachineMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param id 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public HyrjUseMachine selectHyrjUseMachineById(Long id)
    {
        return hyrjUseMachineMapper.selectHyrjUseMachineById(id);
    }

    @Override
    public HyrjUseMachine selectHyrjUseMachineByNewUseTime(HyrjUseMachine hyrjUseMachine) {
        return hyrjUseMachineMapper.selectHyrjUseMachineByNewUseTime(hyrjUseMachine);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param hyrjUseMachine 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<HyrjUseMachine> selectHyrjUseMachineList(HyrjUseMachine hyrjUseMachine)
    {
        return hyrjUseMachineMapper.selectHyrjUseMachineList(hyrjUseMachine);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param hyrjUseMachine 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertHyrjUseMachine(HyrjUseMachine hyrjUseMachine)
    {
        return hyrjUseMachineMapper.insertHyrjUseMachine(hyrjUseMachine);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param hyrjUseMachine 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateHyrjUseMachine(HyrjUseMachine hyrjUseMachine)
    {
        return hyrjUseMachineMapper.updateHyrjUseMachine(hyrjUseMachine);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param ids 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteHyrjUseMachineByIds(Long[] ids)
    {
        return hyrjUseMachineMapper.deleteHyrjUseMachineByIds(ids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param id 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteHyrjUseMachineById(Long id)
    {
        return hyrjUseMachineMapper.deleteHyrjUseMachineById(id);
    }
}
